package com.vodone.v1pin.userInfo.delegate
{
	import com.vodone.v1pin.userInfo.widgts.MessageBoxDetail;
	
	import flash.display.DisplayObject;

	public class PopUpViewUtil
	{
		public static function popUpDetailView(label:String , view:DisplayObject , movex:int = 10 , time:Number = 3000 , h:Number = 50 , txtAlign:String = "center" ):void
		{
			var box:MessageBoxDetail = new MessageBoxDetail();
			box.textAlign = txtAlign;
			box.height = h;
			box.labelText = label;
			box.showAlert(view , movex , time);
		}
	}
}